#!/bin/sh
remoteRepo="https://gitee.com/stand_back/gn_build_common/raw/master/"

filelist=(".gn" "BUILD.gn" "build/BUILDCONFIG.gn" "build/BUILD.gn" "build/toolchain/BUILD.gn")

mkdir -p build/toolchain
for file in ${filelist[@]}
do
   echo "get file [${file}] from [$remoteRepo$file]"
   wget $remoteRepo$file -x -O $file

done
